package com.localjoycommunity.cpdj.project.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.localjoycommunity.cpdj.framework.aspectj.lang.annotation.Excel;
import com.localjoycommunity.cpdj.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 风采展示对象 sys_beauty
 *
 * @author leepandar
 * @date 2020-10-30
 */
public class SysBeauty extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long beautyId;

    /**
     * 支部名称
     */
    @Excel(name = "支部名称" )
    private String party;

    /**
     * 活动名称
     */
    @Excel(name = "活动名称" )
    private String title;

    /**
     * 简介
     */
    @Excel(name = "简介")
    private String describes;

    /**
     * 缩略图
     */
    @Excel(name = "缩略图" )
    private String cover;

    /**
     * 上架状态，0：未上架  1：已上架
     */
    @Excel(name = "上架状态，0：未上架  1：已上架" )
    private String shelfStatus;

    /**
     * 浏览量
     */
    @Excel(name = "浏览量" )
    private Long viewNum;

    /**
     * 点赞量
     */
    @Excel(name = "点击量" )
    private Long clickNum;

    @TableField(exist = false)
    private int isDig;

    public int getIsDig() {
        return isDig;
    }

    public void setIsDig(int isDig) {
        this.isDig = isDig;
    }

    public Long getBeautyId() {
        return beautyId;
    }

    public void setBeautyId(Long beautyId) {
        this.beautyId = beautyId;
    }

    public String getParty() {
        return party;
    }

    public void setParty(String party) {
        this.party = party;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescribes() {
        return describes;
    }

    public void setDescribes(String describes) {
        this.describes = describes;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getShelfStatus() {
        return shelfStatus;
    }

    public void setShelfStatus(String shelfStatus) {
        this.shelfStatus = shelfStatus;
    }

    public Long getViewNum() {
        return viewNum;
    }

    public void setViewNum(Long viewNum) {
        this.viewNum = viewNum;
    }

    public Long getClickNum() {
        return clickNum;
    }

    public void setClickNum(Long clickNum) {
        this.clickNum = clickNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("beautyId", getBeautyId())
                .append("party", getParty())
                .append("title", getTitle())
                .append("describes", getDescribes())
                .append("cover" , getCover())
                .append("shelfStatus" , getShelfStatus())
                .append("viewNum" , getViewNum())
                .append("clickNum" , getClickNum())
                .append("createBy" , getCreateBy())
                .append("createTime" , getCreateTime())
                .append("updateBy" , getUpdateBy())
                .append("updateTime" , getUpdateTime())
                .append("remark" , getRemark())
                .toString();
    }
}
